package com.cysoft.service;

import com.cysoft.dao.WheelDao;
import com.cysoft.domain.Wheel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class WheelService {
    @Autowired
    private WheelDao wheelDao;


    public List<Wheel> getWheelList(){
        return wheelDao.getWheelListFromDB();
    }
}
